xen/arm{32, 64}: fix section shift when mapping 2MB block in boot page table
authorChen Baozi <baozich@gmail.com>
Sun, 16 Feb 2014 16:09:26 +0000 (00:09 +0800)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 12 Mar 2014 13:45:17 +0000 (13:45 +0000)
commitd600fcea4995d3c842c1f11831dc54f1c58d4dd9
treecf440e02b324ec7213289899e6e191d581a06e22
parent635422bf756effeeb11fd8162a9b0ab4f92239eb
xen/arm{32, 64}: fix section shift when mapping 2MB block in boot page table

Section shift for level-2 page table should be #21 rather than #20. Besides,
since there are {FIRST,SECOND,THIRD}_SHIFT macros defined in asm/page.h, use
these macros instead of hard-coded shift value.

Signed-off-by: Chen Baozi <baozich@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/head.S